package com.bestcem.xm.user.grpc.client.convert;

import com.bestcem.xm.push.grpc.v1.services.SendSingleResult;
import com.bestcem.xm.user.grpc.client.dto.SmsSendingResultDTO;
import org.mapstruct.Mapper;
import org.mapstruct.NullValueCheckStrategy;

/**
 * 短信转换类
 *
 * @author wangyunyun <yunyun.wang@idiaoyan.com>
 * @version v1.0
 * @date 2022/6/20 15:39
 */
@Mapper(componentModel = "spring", nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface UserSmsGrpcConvert {

    SmsSendingResultDTO sendSingleResultGrpc2Dto(SendSingleResult result);
}
